﻿using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Fantom
{
	/// <summary>
	/// 抽象基类回声对象，用于实现INotifyPropertyChanged实现MVVM通讯和节点导出。
	/// </summary>
	public abstract class EchoBaseObject : INotifyPropertyChanged
	{
		public event PropertyChangedEventHandler PropertyChanged;

		protected void PropertyChangedInvoke([CallerMemberName] string name = "")
		{
			PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
		}
	}
}
